package com.example.sdgk.controller;//package com.example.sdgk.controller;


import com.example.sdgk.entity.Application1;
import com.example.sdgk.service.Application1Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class Application2Controller {

//    @Autowired
//    Application1Service application1Service;

    @RequestMapping(value = "/hello",method = {RequestMethod.GET})
    String hello(){
        return "<h1>hello</h1>";
    }
}
